#ifndef KMYMENU_H
#define KMYMENU_H

#include "KmyNode.h"
#include "KmyButton.h"

/**
  * 菜单类
  */
class KmyMenu : public KmyNode
{
public:
    KmyMenu();
    ~KmyMenu();

    int button_num;
    KmyButton** buttons;

    /** 第几个选项 */
    int index;

    KmyButton* getSelectButton();

    void logic();
//    void render(KmyICanvas *screen);

};

#endif // KMYMENU_H
